/*
 * HSVThreshConfig.h
 *
 *  Created on: 16/lug/2014
 *      Author: va2013
 */

#ifndef HSVTHRESHCONFIG_H_
#define HSVTHRESHCONFIG_H_

#include <opencv2/opencv.hpp>
#include <opencv/cv.h>

class HSVThreshConfig {
protected:
	//costanti, coeff. eq. retta m*x+b
	int getLinThreshValue(double m, double b, double x);
	int getExpThreshValue(double m, double b, double x);
public:
	HSVThreshConfig();
	virtual ~HSVThreshConfig();
	//Metodi virtuali puri
	virtual double getHMax(double mean) = 0;
	virtual double getHMin(double mean) = 0;
	virtual double getSMax(double mean) = 0;
	virtual double getSMin(double mean) = 0;
	virtual double getVMax(double mean) = 0;
	virtual double getVMin(double mean) = 0;

};

#endif /* HSVTHRESHCONFIG_H_ */
